<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class UsersTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('users')->delete();
        
        \DB::table('users')->insert(array (
            0 => 
            array (
                'id' => 1,
                'username' => 'admin',
                'password' => '$2y$12$BKEckseMmE7bs9pIvJwOkeFACbTcci1cU4AJC1OXucM5HtxnlgA9O',
                'nickname' => '系统管理员',
                'avatar' => 'https://foruda.gitee.com/images/1723603502796844527/03cdca2a_716974.gif',
                'mobile' => '13168318559',
                'status' => 1,
                'deptId' => 1,
                'email' => 'twl859641@gmail.com',
                'gender' => '1',
                'roleIds' => '[1]',
                'createTime' => '2025-11-01 04:29:28',
                'updateTime' => '2025-11-10 03:38:01',
            ),
            1 => 
            array (
                'id' => 2,
                'username' => 'test',
                'password' => '$2y$12$2ex./ekTkCkt5lyCQDhR7ezcydhgSaToctqqrfyzrRk7ysjbowldq',
                'nickname' => '测试小用户',
                'avatar' => 'https://foruda.gitee.com/images/1723603502796844527/03cdca2a_716974.gif',
                'mobile' => '18812345679',
                'status' => 1,
                'deptId' => 5,
                'email' => 'youlaitech@163.com',
                'gender' => '3',
                'roleIds' => '[2]',
                'createTime' => '2025-11-08 16:11:50',
                'updateTime' => '2025-11-11 02:11:52',
            ),
        ));
        
        
    }
}